this will throw an io exception